﻿using Order.Domain.Base;
using Order.Domain.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Order.Domain.OrderDomain
{
    /// <summary>
    /// 药品订单实体
    /// </summary>
    [Table("DrugOrders")]
    public class DrugOrders : BaseEntity
    {
        /// <summary>
        /// 订单编号
        /// </summary>
        public string? OrderNo { get; set; }

        /// <summary>
        /// 订单金额
        /// </summary>
        public decimal? OrderAmount { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>
        public DrugOrderStatusEnum? OrderStatus { get; set; }

        /// <summary>
        /// 患者ID
        /// </summary>
        public int? PatientId { get; set; }
    }
}
